package com.mk.admin.controller;

import com.mk.admin.model.ResultDto;
import com.mk.admin.model.query.NoticeLikeQuery;
import com.mk.admin.model.vo.NoticeLikeVo;
import com.mk.admin.service.NoticeLikeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/a/adm/noticeLike")
@Api(tags = "通知点赞收藏浏览转发")
public class NoticeLikeController {
    @Autowired
    private NoticeLikeService noticeLikeService;

    @PostMapping("/select")
    @ApiOperation("通知点赞收藏浏览转发查询")
    public ResultDto select(@RequestBody NoticeLikeQuery query) {
        return noticeLikeService.select(query);
    }

}
